tools/libxc: common save code
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sun, 8 Jun 2014 02:03:29 +0000 (03:03 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 5 May 2015 13:30:47 +0000 (14:30 +0100)
commit0a4d18da0de013ee5201069c714a19da5fbd69e0
treecdd081c600f2b488e02af2dc1a97e2ffca559174
parent249e62c24fd51dadf5647760cc9df03e3aca872b
tools/libxc: common save code

Save a domain, calling domain type specific function at the appropriate
points.  This implements the xc_domain_save2() API function which is
equivalent to the existing xc_domain_save().

This writes the image and domain headers, and writes all the PAGE_DATA records
using a "live" process.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
tools/libxc/xc_sr_save.c